package com.ruoyi.channelApi.mapper;

import com.ruoyi.channelApi.domain.ChannelVisit;
import com.ruoyi.channelApi.domain.TChannelPush;
import com.ruoyi.channelApi.domain.vo.TChannelPushVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Insert;

/**
 * 渠道推送记录Mapper接口
 *
 * @author ruoyi
 * @date 2023-10-30
 */

public interface TChannelPushMapper extends BaseMapperPlus<TChannelPushMapper, TChannelPush, TChannelPushVo> {


    @Insert("INSERT INTO t_channel_visit_record(channel_source, channel_port, param_info, result_info, create_time) "
            + "values (#{channelSource}, #{channelPort}, #{paramInfo}, #{resultInfo}, now())")
    void insertChannelVisit(ChannelVisit channelVisit);

}
